<section class="card node-meta h-100">
  <div class="card-body">
    <h5 class="card-title">{{ (i18n "meta") }}</h5>
    <div class="row row-cols-1 row-cols-sm-2 g-2 align-items-center">
        {{ with (.Params.license) }}
            {{ $id := (printf "modal-%s" ((delimit (shuffle (seq 11 99)) "") | md5)) }}
            <div class="col">{{ (i18n "license") }}</div>
            <div class="col">
              <div class="input-group">
                <input type="text" class="form-control" value="{{ . }}" readonly/>
                <a class="btn btn-primary" href="https://choosealicense.com/licenses/{{ . | lower }}" target="_blank"
                   role="button" rel="noopener noreferrer nofollow"
                   data-bs-tooltip data-bs-title="{{ (i18n "license_text") }}">
                  <i class="far fa-file-lines fa-fw"></i></a>
              </div>
            </div>
        {{ end }}
        {{ with (.File) }}
          <div class="col">{{ (i18n "file_id") }}</div>
          <div class="col">
            <input type="text" class="form-control" value="{{ (.UniqueID) }}" readonly/>
          </div>
        {{ end }}
        {{ with (.Params.uuid) }}
          <div class="col">{{ (i18n "uuid") }}</div>
          <div class="col">
            <input type="text" class="form-control" value="{{ . }}" readonly/>
          </div>
        {{ end }}
        {{ with (.File) }}
          <div class="col">{{ (i18n "sys_path") }}</div>
          <div class="col">
            <input type="text" class="form-control" value="{{ (.Path) }}" readonly/>
          </div>
        {{ end }}
        {{ with (.Type) }}
          <div class="col">{{ (i18n "type") }}</div>
          <div class="col">
            <input type="text" class="form-control" value="{{ . }}" readonly/>
          </div>
        {{ end }}
    </div>
  </div>
</section>
